Computing Definite Logic Programs by Partial Instantiation
نویسندگان
چکیده
Kagan, V., A. Nerode and V.S. Subrahmanian, Computing definite logic programs by partial instantiation, Annals of Pure and Applied Logic 67 (1994) 161-182. Query processing in ground definite deductive databases is known to correspond precisely to a linear programming problem. However, the “groundedness” requirement is a huge drawback to using linear programming techniques for logic program computations because the ground version of a logic program can be very large when compared to the original logic program. Furthermore, when we move from propositional logic programs to first-order logic programs, this effectively means that functions symbols may not occur in clauses. In this paper, we develop a theory of “instantiateby-need” that performs instantiations (not necessarily ground instantiations) only when needed. We prove that this method is sound and complete when computing answer substitutions for non-ground logic programs including those containing function symbols. More importantly, when taken in conjunction with Colmerauer’s result that unification can be viewed as linear programming, this means that resolution with unification can be completely replaced by linear programming as an operational paradigm. Additionally, our tree construction method is not rigidly tied to the linear programming paradigm-we will show that given any method M (which some implementors may prefer) that can compute the set of atomic logical consequences of a propositional logic program, our method can use M to compute (in a sense made precise in the paper), the set of all (not necessarily ground) atoms that are consequences of a first-order logic program. Correspondence to: VS. Subrahmanian, Department of Computer Science, Institute for Advanced Computer Studies and Institute for Systems Research, University of Maryland, College Park, MD 20742, USA. Email: [email protected] * This work was supported by the Army Research Office under grant numbers DAAL-03-91-C-0027 and DAAL-03-92-G-0225, by the Air Force Office of Scientific Research under grant number F49620-93-l-0065 as well as by the National Science Foundation under Grant number IRI-9109755. 0168-0072/94/$07.00 c 1994Elsevier Science B.V. All rights reserved SSDI 0168-0072(93)E0065-V
منابع مشابه
Incremental Algorithms for Optimizing Model Computation Based on Partial Instantiation
It has been shown that mixed integer programming methods can e ectively support minimal model, stable model and well-founded model semantics for ground deductive databases. Recently, a novel approach called partial instantiation has been developed which, when integrated with mixed integer programming methods, can handle non-ground logic programs. The goal of this paper is to explore how this in...
متن کاملNew methods for computing inferences in first order logic
Recent improvements in satis ability algorithms for propositional logic have made partial instantiation methods for rst order predicate logic computationally more attractive Two such methods have been proposed one by R Jeroslow and a hypergraph method for datalog formulas by G Gallo and G Rago We show that they are instances of two general approaches to partial instantiation and we develop thes...
متن کاملPartial Stable Generated Models of Generalized Logic Programs with Constraints
Logic programs are an important knowledge representation tool. In many cases, definite logic programs are too restricted to formalize problems intuitively. Therefore definite logic programs have been extended in several ways by additional syntactic constructs such as negation and disjunction. A very expressive program class are generalized logic programs. Their rules may contain any quantifier ...
متن کاملTranslation of Aggregate Programs to Normal Logic Programs
We define a translation of aggregate programs to normal logic programs which preserves the set of partial stable models. We then define the classes of definite and stratified aggregate programs and show that the translation of such programs are, respectively, definite and stratified logic programs. Consequently these two classes of programs have a single partial stable model which is two-valued...
متن کاملAutomatic Termination Analysis of
This paper describes a system implemented in SICStus Prolog for automatically checking left termination of logic programs. Given a program and query, the system answers either that the query terminates or that there may be non-termination. The system can use any norm of a wide family of norms. It can handle automatically most of the examples found in the literature on termination of logic progr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Ann. Pure Appl. Logic
دوره 67 شماره
صفحات -
تاریخ انتشار 1994